//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "FormParam.h"
#include "ParamCfg.h"
#include "Param.h"
#include "Protocal_double.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm2 *Form2;
//---------------------------------------------------------------------------
__fastcall TForm2::TForm2(TComponent* Owner)
        : TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm2::FormCreate(TObject *Sender)
{
     ledt_enable_zero->Text = Param_ReadInteger(CMD_EN_ZERO_TRACE,0);
     ledt_k->Text =  Param_ReadFloat(CMD_SK,1);
     ledt_k->Text =  Param_ReadFloat(CMD_SK,1);
}
//---------------------------------------------------------------------------
void __fastcall TForm2::btnWriteClick(TObject *Sender)
{
     //Param_WriteInteger(VAR_ENABLE_ZERO_TRACK,ledt_enable_zero->Text.ToInt());
     //Param_WriteFloat(VAR_WEIGHT_K,ledt_k->Text.ToDouble());
}
//---------------------------------------------------------------------------
